<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>相对定位布局</title>
	  <style>
	  
	  .box {
    width: 150px;
    height: 100px;
    background-color: lightblue;
    border: 1px solid blue;
    margin: 10px;
    padding: 10px;
}

.relative {
    position: relative;
    top: 20px;
    left: 20px;
}
	  	  </style>
</head>

<body>
    <div class="box normal">正常位置的盒子</div>
    <div class="box relative">相对定位的盒子，会从正常位置向右下方移动</div>
</body>

</html>